﻿<!DOCTYPE html>
<!-- saved from url=(0022)http://blog.csdn.net/electroniXtar/ -->
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title></title>
  <style type="text/css">
              body {
                margin-left: 0 0;
                background-color: #EEF2FB;
                width: 100%;
                height: auto;
                font-size: 15px;
              }
              .rrcc h2 {
                text-align: center;
                margin:20px auto;
              }
              .right {
                width:1000px;
                height: auto;
                border:0;
              }
              .right p {text-align: center;}
              .right span {margin:5px 50px;}
              .content {
                width:900px; 
                margin:0 auto;
                line-height: 25px;
                height:auto;
              }
              a:hover {
                color: red;
              }
              table {
                    border-collapse: collapse;
                    border:solid 1px #abc;
                    margin-left:10px;
                    margin-bottom: 10px;
                    width:1000px;
                    text-align: center;
                    float: left;
                  }
    </style>
</head>

<body>
  <div class="rrcc" id="RightBox">
  <?php foreach ($mail_content as $v): ?>  
    <div class="right">
      <table>
        <h2><?php echo $v->title;?></h2>
        <p><span>收件人：<?php echo $v->to_who;?></span><span>发送时间：<?php echo $v->time;?></span></p>
        <div class="content">
          <?php echo $v->content;?>
        </div>
      </table>
    </div>
  <?php endforeach; ?>
  </div>
</body>
</html>